//
//  TopTabBar.h
//  book
//
//  Created by liwei on 15/6/17.
//  Copyright (c) 2015年 liwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TopTabBar;
@protocol TopTabBarDelegate <NSObject>

@required
-(void)selectAtIndex:(int)index inTabBar:(TopTabBar *)_tabBar;

@end

@interface TopTabBar : UIView <UITabBarDelegate>

@property (nonatomic, strong) NSArray *titleList;
@property (nonatomic, assign) int index;
@property (nonatomic,assign) id<TopTabBarDelegate> delegate;

#pragma mark 更新布局
- (void) updateLayout;

@end
